package com.rt.cloud.auth.facade;

import com.rt.easyjava.common.base.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(contextId = "ShortTokenApi", name = "scm-epcodeless-core")
public interface ShortTokenApi {
    @PostMapping(value="/core/innerService/shortTokenBiz/create")
    Result create(@PathVariable("jti") String jti, @PathVariable("accessToken") String accessToken);

}
